# -*- encoding: utf-8 -*-

# -- this is magic line that ensures "../lib" is in the load path -------------
$:.push File.expand_path("../lib", __FILE__)

# -- lib/periodic_table/version was created by bundler ------------------------
# requiring it here allows access to PeriodicTable::VERSION
# you do NOT need to add additional require statements here as you build the gem
#require "periodic_table/version"

# Copy config file to /config/
FileUtils.cp("config/log_properties.yml", "../../config/")

Gem::Specification.new do |s|
  s.name        = "depac-common"
  s.version     = "0.0.1"
  s.authors     = ["Yi BJ Kong"]
  s.email       = ["kongyibj@cn.ibm.com"]
  s.homepage    = "http://www.ibm.com"
  s.summary     = %q{Deployment Accelerator common libraries}
  s.description = %q{This gem provides common utilities and libraries for Deployment Accelerator}

  s.files         = ["lib/depac-common.rb", 
                    "lib/depac-common/softlayer.rb",
                    "lib/depac-common/deployment_cbt.rb",
                    "lib/depac-common/registerService_cbt.rb",
                    "lib/depac-common/qingcloud.rb", 
  					"lib/depac-common/log.rb", 
  					"lib/depac-common/constants.rb",
  					"lib/depac-common/constants_cbt.rb", 
  					"lib/depac-common/mongoshard.rb",
  					"lib/depac-common/environment_config.rb",
  					"lib/depac-common/utils.rb", 
  					"config/log_properties.yml" ] 

  s.require_paths = ["lib"]
  
  s.add_runtime_dependency "softlayer_api", ["= 1.0.7"]
  s.add_runtime_dependency "qingcloud-sdk", ["= 0.3.3"]
  s.add_runtime_dependency "erubis", ["= 2.7.0"]
end
